<%@ tag language="java" pageEncoding="UTF-8" body-content="empty" trimDirectiveWhitespaces="true"%>
<%@ attribute name="id" type="java.lang.String" required="true" description="id" %>
<%@ attribute name="dropValues" type="java.lang.String" required="true" description="取值"%>
<%@ attribute name="name" type="java.lang.String" required="false" description="定义select的name属性"%>
<%@ attribute name="className" type="java.lang.String" required="false" description="定义select的class属性"%>
<%@ attribute name="showSelectAll" type="java.lang.Boolean" required="false" description="是否显示选择所有选项，默认false"%>
<%@ attribute name="showSelectName" type="java.lang.String" required="false" description="选择所有选项的名称，默认为'全部'，设置此选项需先设置showSelectAll为'true'"%>
<%@ attribute name="showSelectValue" type="java.lang.String" required="false" description="选择所有选项的值，默认为空，设置此选项需先设置showSelectAll为'true'"%>
<%@ attribute name="defaultValue" type="java.lang.String" required="false" description="默认值"%>
<%@ attribute name="readonly" type="java.lang.Boolean" required="false" description="是否禁用输入"%>
<%@ attribute name="onValueChanged" type="java.lang.String" required="false" description="选择下拉框触发的事件"%>	
	
<div id='${id}' data-tag='dropList'></div>
<script type="text/javascript">
(function(){
	TagSupport.dropValues({
		'id':'${id}', 'dropValues':'${dropValues}', 'name':"${name}", 'className':'${className}', 
		'showSelectAll':"${showSelectAll}", 'showSelectName':"${showSelectName}", 'showSelectValue':"${showSelectValue}", 
		'readonly':"${readonly}", 'onValueChanged':"${onValueChanged}","defaultValue":"${defaultValue}"
	});
})();

</script>





